home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
ScrollWindow
/
ExampleApp.m
< prev
next >
Wrap
Text File
|
1995-06-12
|
704b
|
49 lines
/* Generated by Interface Builder */
#import "ExampleApp.h"
#import "ScrollWindow.h"
#import <appkit/Matrix.h>
@implementation ExampleApp
- appDidInit:sender
{
[infoWindow becomeScrollWindow];
[mysteryWindow becomeScrollWindow];
return self;
}
- setMysteryMatrix:anObject
{
mysteryMatrix = anObject;
return self;
}
- setInfoWindow:anObject
{
infoWindow = anObject;
return self;
}
- setMysteryScroller:anObject
{
mysteryScroller = anObject;
return self;
}
- setMysteryWindow:anObject
{
mysteryWindow = anObject;
return self;
}
- mysteryAction:sender
{
[mysteryScroller setTarget:[mysteryMatrix findCellWithTag:[sender intValue]]];
return self;
}
@end